﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage_Home_admin.master" AutoEventWireup="true" CodeFile="detailProduct.aspx.cs" Inherits="admin_Product_detailProduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style2
        {
        }
        .style3
        {
            height: 46px;
        }
        .style4
        {
            width: 209px;
            height: 46px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%; height: 252px;">
    <tr>
            <td class="style3">
                </td>
            <td class="style4">
                <asp:Label ID="lbIDtype" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                </td>
            <td class="style2">
                <asp:TextBox ID="txtName" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td rowspan="5">
                <asp:Image ID="imgProduct" runat="server" Height="236px" style="margin-left: 0px" 
                    Width="196px"  />
                <br />
                
                <asp:FileUpload ID="fuImage" runat="server" Visible="False" Width="195px"   
                     />
                
                <br />
            </td>
        </tr>
       
        <tr>
            <td class="style3">
                </td>
            <td class="style4">
                <asp:DropDownList ID="ddlType" runat="server" DataSourceID="drtype" 
                    DataTextField="TypeProduct_Name" DataValueField="TypeProduct_ID" Height="29px" 
                    Width="127px" Enabled="False">
                </asp:DropDownList>
                <asp:SqlDataSource ID="drtype" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ShoppingOnlineConnectionString %>" 
                    SelectCommand="SELECT * FROM [ProductType]"></asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                <asp:TextBox ID="txtQuantity" runat="server" Enabled="False"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                <asp:TextBox ID="txtPrice" runat="server" Enabled="False"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td class="style2">
                <asp:TextBox ID="txtProduct_SaleOff" runat="server" 
                    Enabled="False"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td>
                &nbsp;</td>
            <td class="style2" colspan="2">
                <asp:TextBox ID="txtDetails" runat="server" Height="54px" TextMode="MultiLine" 
                    Width="406px" Enabled="False"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td>
                &nbsp;</td>
            <td class="style2" align="right">
                <asp:Button ID="btnSave" runat="server" Text="Save" Visible="False" 
                    onclick="btnSave_Click" />
                <asp:Button ID="btnUpdate" runat="server" Text="Update" onclick="btnUpdate_Click" 
                     />
            </td>
             <td>
                 <asp:Button ID="btnCancel" runat="server" Text="Cancel" Visible="False" />
             </td>
        </tr>
    </table>
</asp:Content>

